package com.htzz.collection.core;

import org.bson.Document;

import java.util.List;
import java.util.Map;

public interface ActionTemplate {

    boolean insert(String collectionName, Map<String, Object> json);
    boolean insertMany(String collectionName, List<Document> jsons);
}
